package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.Approve;

import java.util.List;
import java.util.Map;

/**
 * @author：liyouxin
 * @date：2023/8/17 16:22
 */
public interface ApproveMapper {
	public Approve selectById(Long id);

	public List<Approve> selectByIds(List<Long> ids);

	public List<Approve> selectApproveList(Approve query);

	public List<Approve> selectNotApprovedList(Approve query);

	public List<Approve> selectApprovedList(Approve query);

	public int insertApprove(Approve approve);

	public int updateApprove(Approve approve);

	public int batchUpdateApproveStatusByIds(Map<String, Object> params);
}
